        <table cellspacing="1" id="<?php echo $name ?>Table">
            <thead id="pagination">
                <?php
                $cols = array();
                $cols[] = array('width' => "80px", 'text' => "Raid", 'sort' => "scheduled_date");
                $cols[] = array('width' => "60px", 'text' => "Members", 'sort' => "players");
                $cols[] = array('width' => "60px", 'text' => "Points", 'sort' => "points");
                $cols[] = array('width' => "60px", 'text' => "Gain", 'sort' => "gain");
                $cols[] = array('width' => "60px", 'text' => "Loss", 'sort' => "loss");
                include_partial('template/pagination_th', array('cols' => $cols, 'tab' => $tab, 'url_for' => $url_for, 'get' => $get));
                ?>
            </thead>
            <tfoot>
                <tr>
                    <th class="ui-widget ui-state-default ui-corner-bottom" colspan="5">
                    <?php if (isset($tab['pager']) && $tab['pager']->haveToPaginate())
                    {
                        include_partial('template/pagination', array('cols' => $cols, 'tab' => $tab, 'url_for' => $url_for, 'get' =>  $get));
                    }
                    ?>
                    </th>
                </tr>
            </tfoot>
            <tbody>
                <?php
                foreach ($raids as $raid)
                {
                    include_partial('view/tr_raid_index', array('name' => $name, 'raid' => $raid));
                }
                ?>
            </tbody>
        </table>
